home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
H-I
/
HypertalkTools.cpt
/
Resource Copier
/
card_5966.txt
< prev
next >
Wrap
Text File
|
1989-02-26
|
904b
|
25 lines
-- card: 5966 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 2808
-- name:
-- part contents for background part 5
----- text -----
This stack only has one resource in it's resource fork, the ResCopy XCMD resource. This is the external command that does the actual resource copying between stacks.
The command structure is this:
ResCopy <source pathname>,<destination pathname>,<type>,<name>
<source pathname> is the HFS pathname for the source file
<destination pathname> is the HFS pathname for the dest file
<type> is the resource type, such as XCMD, and is always 4 chars
<name> is the resource name, such as "ResCopy" for this XCMD
There are many ways this command can be used. I have only detailed one way here, but have made the command flexible to encourage other uses.
-- part contents for background part 7
----- text -----
14